package lesson01;

import java.net.InetSocketAddress;

public class Class_002_Port {

    public static void main(String[] args) {
        InetSocketAddress socketAddress = new InetSocketAddress("127.0.0.1", 8080);
        System.out.println(socketAddress);

        System.out.println(new InetSocketAddress("localhost", 8080));
    }
}
